package com.kingtone.rongji.biz;

import java.util.List;

public class ProductDetail {

	public String ManufactoryName;
	public String LineDescription;
	public String WebDescription;
	public int PromotionType;
	public String ImageName;
	public int GiftShippingType;
	public int CategoryId;
	public double Weight;
	public int ActualInventory;
	public String ProductName;
	public double Width;
	public String Overview;
	public String InDate;
	public String ViewDescription;
	public int TotalInventory;
	public String PromotionDescription;
	public double MarketPrice;
	public int ReviewCount;
	public String FullImageName;
	public String CategoryName;
	public int ManufactoryId;
	public double Height;
	public String DetailSpecification;
	public Double UnitPrice;
	public String Title;
	public String ProductId;
	public String TSImageSet;
	public int LimitQuantity;
	public Boolean Active;
	public double Length;
	public Boolean WebSiteShow;
	public int WarrantyId;
	public String WarrantySummary;
	public String UPCCode;
	public int ReviewCountLevel;
	public List<PropertyValueInfoList> PropertyValueInfoList;

	public String getManufactoryName() {
		return ManufactoryName;
	}

	public void setManufactoryName(String manufactoryName) {
		ManufactoryName = manufactoryName;
	}

	public String getLineDescription() {
		return LineDescription;
	}

	public void setLineDescription(String lineDescription) {
		LineDescription = lineDescription;
	}

	public String getWebDescription() {
		return WebDescription;
	}

	public void setWebDescription(String webDescription) {
		WebDescription = webDescription;
	}

	public int getPromotionType() {
		return PromotionType;
	}

	public void setPromotionType(int promotionType) {
		PromotionType = promotionType;
	}

	public String getImageName() {
		return ImageName;
	}

	public void setImageName(String imageName) {
		ImageName = imageName;
	}

	public int getGiftShippingType() {
		return GiftShippingType;
	}

	public void setGiftShippingType(int giftShippingType) {
		GiftShippingType = giftShippingType;
	}

	public int getCategoryId() {
		return CategoryId;
	}

	public void setCategoryId(int categoryId) {
		CategoryId = categoryId;
	}

	public double getWeight() {
		return Weight;
	}

	public void setWeight(double weight) {
		Weight = weight;
	}

	public int getActualInventory() {
		return ActualInventory;
	}

	public void setActualInventory(int actualInventory) {
		ActualInventory = actualInventory;
	}

	public String getProductName() {
		return ProductName;
	}

	public void setProductName(String productName) {
		ProductName = productName;
	}

	public double getWidth() {
		return Width;
	}

	public void setWidth(double width) {
		Width = width;
	}

	public String getOverview() {
		return Overview;
	}

	public void setOverview(String overview) {
		Overview = overview;
	}

	public String getInDate() {
		return InDate;
	}

	public void setInDate(String inDate) {
		InDate = inDate;
	}

	public String getViewDescription() {
		return ViewDescription;
	}

	public void setViewDescription(String viewDescription) {
		ViewDescription = viewDescription;
	}

	public int getTotalInventory() {
		return TotalInventory;
	}

	public void setTotalInventory(int totalInventory) {
		TotalInventory = totalInventory;
	}

	public String getPromotionDescription() {
		return PromotionDescription;
	}

	public void setPromotionDescription(String promotionDescription) {
		PromotionDescription = promotionDescription;
	}

	public double getMarketPrice() {
		return MarketPrice;
	}

	public void setMarketPrice(double marketPrice) {
		MarketPrice = marketPrice;
	}

	public int getReviewCount() {
		return ReviewCount;
	}

	public void setReviewCount(int reviewCount) {
		ReviewCount = reviewCount;
	}

	public String getFullImageName() {
		return FullImageName;
	}

	public void setFullImageName(String fullImageName) {
		FullImageName = fullImageName;
	}

	public String getCategoryName() {
		return CategoryName;
	}

	public void setCategoryName(String categoryName) {
		CategoryName = categoryName;
	}

	public int getManufactoryId() {
		return ManufactoryId;
	}

	public void setManufactoryId(int manufactoryId) {
		ManufactoryId = manufactoryId;
	}

	public double getHeight() {
		return Height;
	}

	public void setHeight(double height) {
		Height = height;
	}

	public String getDetailSpecification() {
		return DetailSpecification;
	}

	public void setDetailSpecification(String detailSpecification) {
		DetailSpecification = detailSpecification;
	}

	public Double getUnitPrice() {
		return UnitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		UnitPrice = unitPrice;
	}

	public String getTitle() {
		return Title;
	}

	public void setTitle(String title) {
		Title = title;
	}

	public String getProductId() {
		return ProductId;
	}

	public void setProductId(String productId) {
		ProductId = productId;
	}

	public String getTSImageSet() {
		return TSImageSet;
	}

	public void setTSImageSet(String tSImageSet) {
		TSImageSet = tSImageSet;
	}

	public int getLimitQuantity() {
		return LimitQuantity;
	}

	public void setLimitQuantity(int limitQuantity) {
		LimitQuantity = limitQuantity;
	}

	public Boolean getActive() {
		return Active;
	}

	public void setActive(Boolean active) {
		Active = active;
	}

	public double getLength() {
		return Length;
	}

	public void setLength(double length) {
		Length = length;
	}

	public Boolean getWebSiteShow() {
		return WebSiteShow;
	}

	public void setWebSiteShow(Boolean webSiteShow) {
		WebSiteShow = webSiteShow;
	}

	public int getWarrantyId() {
		return WarrantyId;
	}

	public void setWarrantyId(int warrantyId) {
		WarrantyId = warrantyId;
	}

	public String getWarrantySummary() {
		return WarrantySummary;
	}

	public void setWarrantySummary(String warrantySummary) {
		WarrantySummary = warrantySummary;
	}

	public String getUPCCode() {
		return UPCCode;
	}

	public void setUPCCode(String uPCCode) {
		UPCCode = uPCCode;
	}

	public List<PropertyValueInfoList> getPropertyValueInfoList() {
		return PropertyValueInfoList;
	}

	public void setPropertyValueInfoList(
			List<PropertyValueInfoList> propertyValueInfoList) {
		PropertyValueInfoList = propertyValueInfoList;
	}

	public int getReviewCountLevel() {
		return ReviewCountLevel;
	}

	public void setReviewCountLevel(int reviewCountLevel) {
		ReviewCountLevel = reviewCountLevel;
	}

	class PropertyValueInfoList {

		public String GroupName;
		public Boolean Disabled;
		public Boolean IsChecked;
		public String SelectCss;
		public int PropertyCode;
		public String PropertyName;
		public int GroupId;
		public String ProductId;
		public int Priority;
		public Boolean GroupByMark;
		public String getGroupName() {
			return GroupName;
		}
		public void setGroupName(String groupName) {
			GroupName = groupName;
		}
		public Boolean getDisabled() {
			return Disabled;
		}
		public void setDisabled(Boolean disabled) {
			Disabled = disabled;
		}
		public Boolean getIsChecked() {
			return IsChecked;
		}
		public void setIsChecked(Boolean isChecked) {
			IsChecked = isChecked;
		}
		public String getSelectCss() {
			return SelectCss;
		}
		public void setSelectCss(String selectCss) {
			SelectCss = selectCss;
		}
		public int getPropertyCode() {
			return PropertyCode;
		}
		public void setPropertyCode(int propertyCode) {
			PropertyCode = propertyCode;
		}
		public String getPropertyName() {
			return PropertyName;
		}
		public void setPropertyName(String propertyName) {
			PropertyName = propertyName;
		}
		public int getGroupId() {
			return GroupId;
		}
		public void setGroupId(int groupId) {
			GroupId = groupId;
		}
		public String getProductId() {
			return ProductId;
		}
		public void setProductId(String productId) {
			ProductId = productId;
		}
		public int getPriority() {
			return Priority;
		}
		public void setPriority(int priority) {
			Priority = priority;
		}
		public Boolean getGroupByMark() {
			return GroupByMark;
		}
		public void setGroupByMark(Boolean groupByMark) {
			GroupByMark = groupByMark;
		}
	}

	public boolean isValidate() {
		return !this.Active || this.ActualInventory <= 0;
	}
}
